let url=new URLSearchParams(location.search)
let result=url.get('search');
let reg=/\.svg$/
if(reg.test(result)){
    document.querySelector('div').innerHTML=`<img src="${result}" alt="">`
}else{
    document.querySelector('div').innerHTML=result
}
